home *** CD-ROM | disk | FTP | other *** search
/ 95.86.62.111 / 95.86.62.111.tar / 95.86.62.111 / Active Sync 4.5.rar / Active Sync 4.5 / setup.msi / ActiveSync.cab / activesync.chm.48F17E76_FD07_4BE3_97CE_1B27523FD30B / scripts / dtue_ie3.js < prev    next >
Text File  |  2006-10-01  |  2KB  |  62 lines

  1. // VERSION 9226
  2. // This script works with IE 3.x
  3.  
  4. //************************** LOCALIZATION VARIABLES ***************************
  5.  
  6. // Variables for Feedback links
  7. var L_FeedbackLink_TEXT = "Send feedback to Visual Studio";
  8. var L_MessageLink_TEXT = "Microsoft Knowledgebase Link";
  9.  
  10. // Variables for Expand-Collapse functions
  11. var L_Expand_TEXT = "<B>Expand/Collapse functionality:</B> Your browser does not support the functionality in this topic. You may install a browser that does at ";
  12. var L_Expand_URL = "http://www.microsoft.com/windows/IE/";
  13.  
  14. //*************************** END LOCALIZATION ********************************
  15.  
  16. var baseUrl = jsPath; //jsPath comes from the dtuelink.js
  17. var emailalias = "vsdocs";
  18.  
  19.  
  20. //***************************** END VARIABLES *********************************
  21.  
  22. // ****************************************************************************
  23. // *                             Expand-Collapse                              *
  24. // ****************************************************************************
  25.  
  26. function makeExpandable(title, level){
  27.     document.write("<P>" + L_Expand_TEXT + "<A href=\"" + L_Expand_URL + "\">" + L_Expand_URL + "</A>.</P>");
  28. }
  29.  
  30.  
  31. // ****************************************************************************
  32. // *                            Graphic Animation                             *
  33. // ****************************************************************************
  34.  
  35. function insertAnimation(name, number) {
  36.     name = name + "1.gif";
  37.     document.write("<img name=\"" + name + "\" src=\"" + name + "\">");
  38. }
  39.  
  40.  
  41. // ****************************************************************************
  42. // *                        Feedback & other footer links                     *
  43. // ****************************************************************************
  44.  
  45. function writefeedbacklink(){
  46.     contextid = arguments[1];
  47.     topictitle = arguments[2];
  48.  
  49.     href = "mailto:"+emailalias+"?subject=Feedback%20on%20topic%20-%20"+topictitle+",%20URL%20-%20"+contextid;
  50.     document.writeln("<a href="+href+">"+L_FeedbackLink_TEXT+"</a>");
  51. }
  52.  
  53.  
  54. function writemessagelink(){
  55.     //Writes jump to PSS web site redirector
  56.     //code tbd
  57.     //Use L_MessageLink_TEXT variable from Localization Variables located at top of script.
  58.     msdnid = arguments[0];
  59.     href = "http://www.microsoft.com/contentredirect.asp?prd=vs&pver=7.0&id="+msdnid;
  60.     document.writeln("<a href="+href+">"+L_MessageLink_TEXT+"</a>");
  61. }
  62.